﻿using BSChuangXu.Domain.User;
using BSChuangXu.ErrorCode;
using MediatR;

namespace BSChuangXu.API.Read.Appicant.Commend.UserCommand
{
    /// <summary>
    /// 登录
    /// </summary>
    public class LoginCommand : IRequest<APIResult<UserModel>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string? Password { get; set; }
    }
}
